<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>注册</title>
	<link rel="stylesheet" type="text/less" href="http://localhost/shop/Template/default/style/main.less" />
	<link rel="stylesheet" href="http://localhost/shop/Template/default/style/bootstrap.min.css" />
	<script type="text/javascript" src="http://localhost/shop/Template/default/js/less-1.7.5.min.js"></script>
	<script type='text/javascript' src='http://localhost/shop/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/shop/hdphp/hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<link href='http://localhost/shop/hdphp/hdjs/css/hdvalidate.css' rel='stylesheet' media='screen'>
<script src='http://localhost/shop/hdphp/hdjs/js/hdjs.js'></script>
<script src='http://localhost/shop/hdphp/hdjs/js/hdvalidate.js'></script>
<script src='http://localhost/shop/hdphp/hdjs/js/slide.js'></script>
<script src='http://localhost/shop/hdphp/hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
COMMON = '<?php echo $GLOBALS['user']['COMMON'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
MODULE = '<?php echo $GLOBALS['user']['MODULE'];?>';
CONTROLLER = '<?php echo $GLOBALS['user']['CONTROLLER'];?>';
ACTION = '<?php echo $GLOBALS['user']['ACTION'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
VIEW = '<?php echo $GLOBALS['user']['VIEW'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
CONTROLLERVIEW = '<?php echo $GLOBALS['user']['CONTROLLERVIEW'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
TEMPLATE = '<?php echo $GLOBALS['user']['TEMPLATE'];?>';
</script>
	<script type="text/javascript">
        $(function(){
            var src = $('.codeimg').attr('src');
            $('.codeing').click(function() {
                $('.codeimg').attr('src',src + '&' + Math.random());
            });
        })
    </script>
    <script type="text/javascript" src="http://localhost/shop/Template/default/js/main.js"></script>
</head>
<body style="background:#F2F2F2">
<!-- 注册页面开始 -->
	<div id="register">
		<div class="top">
			<div class="logo">
				<a href="/">
					<img src="http://localhost/shop/Template/default/images/register-logo.png" alt="" />
				</a>
			</div>
		</div>
		<div class="register">
			<div class="top_text">
				<div class="frist">
					<h4>注册小米帐号</h4>
					<p>小米帐号能使用小米手机、米聊、MIUI和小米的其他服务。如果您已拥有小米帐号，则可 <a href="">在此登录</a></p>
				</div>
				<form class="form-horizontal" role="form" name="regForm" action="<?php echo U('Register/index');?>" method="post" id="regForm">
				  	<div class="form-group">
				    	<label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
					    <div class="col-sm-10">
					      	<input type="text" class="form-control" id="inputEmail3" placeholder="用户名" name="username">
					    </div>
				  	</div>
				  	<div class="form-group">
				    	<label for="inputEmail3" class="col-sm-2 control-label">昵称</label>
					    <div class="col-sm-10">
					      	<input type="text" class="form-control" id="inputEmail3" placeholder="昵称" name="nickname">
					    </div>
				  	</div>
				  	<div class="form-group">
				    	<label for="inputPassword3" class="col-sm-2 control-label">设置密码</label>
					    <div class="col-sm-10">
					      	<input type="password" class="form-control" id="inputPassword3" placeholder="密码" name="password_reg1">
					    </div>
				  	</div>
				  	<div class="form-group">
				    	<label for="inputPassword3" class="col-sm-2 control-label">确认密码</label>
					    <div class="col-sm-10">
					      	<input type="password" class="form-control" id="inputPassword3" placeholder="密码" name="password_reg2">
					    </div>
				  	</div>
				  	<div class="form-group">
				    	<label for="inputEmail3" class="col-sm-2 control-label">验证码</label>
					    <div class="col-sm-10">
					      	<input type="text" class="form-control code" id="inputEmail3" placeholder="验证码" style="width:130px;" name="code">
					      	<a href="javascript:;" class="codeing"><img src="<?php echo U('Register/code');?>" alt=""  class="codeimg" /></a>
					    </div>
				  	</div>
				  	<div class="form-group">
				    	<div class="col-sm-offset-2 col-sm-10">
				      		<button type="submit" class="btn btn-default">立即注册</button>
				    	</div>
				  	</div>
				</form>
				<p class="login">点击“立即注册”，即表示您同意并愿意遵守小米 <a href=""> 用户协议 </a> 和 <a href=""> 隐私政策 </a></p>
				<!-- <h3>一个帐号，玩转所有小米服务！</h3> -->
			</div>
			<div class="reg_btm"></div>
		</div>
		<div class="footer">
			<p>小米公司版权所有-京ICP备10046444-京公网安备1101080212535</p>
		</div>
	</div>
<!-- 注册页面结束	 -->
</body>
</html>